<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>今日之趣&今日不悦</title>

    <link rel="stylesheet" href="../../static/css/base.css">
    <link rel="stylesheet" href="../../static/css/common.css">
    <link rel="stylesheet" href="../../static/css/happy.css">
    <link rel="shortcut icon" href="../../static/favicon.ico/微信图片_20221108100304.ico" type="image/x-icon">
</head>
<body>
<div class="header wrapper">
    <div class="logo">
        <h1><a href="#"><img src="../../static/images/logo.ico"></a> </h1>
    </div>
    <div class="nav">
        <ul>
            <li><a href="/homepage">首页</a> </li>
            <li><a href="/lose">失物招领</a> </li>
            <li><a href="/helpindex">有偿帮忙</a> </li>
            <li><a href="/inserthappy">今日之趣&今日不悦</a> </li>
        </ul>
    </div>
</div>
<div class="shortcut">
    <div class="wrapper">
       <span>今日之趣&今日不悦</span>
    </div>
    <div class="nav">
        <ul>
            <li class="sad"><a href="#">发泄不满</a></li>
        </ul>
    </div>
    <div class="na">
        <ul>
            <li class="happy"><a href="#">分享快乐</a></li>
        </ul>
    </div>
</div>
<div class="banner">
        <div class="left">
            <img src="../../static/images/今日之趣.jpg">
        <ul >
            <div th:each="happy:${ListHappy}">
                <li th:text="${happy.happy}">1</li>
            </div>
        </ul>
        </div>
</div>
<div class="banner">
    <div class="right">
        <ul >
            <div th:each="sad:${ListSad}">
                <li th:text="${sad.sad}">1</li>
            </div>
        </ul>
    </div>
</div>
<div class="sad1">
    <form action="/insertsad" method="get">
        输入今日不开心<br><textarea  name="sad" class="cvb"></textarea>
     <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
      <a href="/insertsad"><input class="happy2" type="submit" value="输入完毕"></a>
    </form>
</div>
<div class="happy1">
    <form action="/inserthappy" method="get">
        输入今日开心<br><textarea  name="happy" class="cvb1"></textarea>
        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
        <a href="/inserthappy"><input class="happy2" type="submit" value="输入完毕"></a>
    </form>
</div>
<script type="text/javascript" src="../../static/script/happy.sad.js"></script>
</body>
</html>